<template>
	<view>
		<web-view :webview-styles="vdata.webviewStyles" :src="vdata.url"></web-view>
	</view>
</template>

<script setup>
	
	import { onLoad } from '@dcloudio/uni-app';
	import { reactive  } from 'vue';
	
	let vdata = reactive({
		url: '', // 收货人
		webviewStyles: {
			progress: {
				color: '#FF3333'
			}
		}
		
	});
	onLoad(options => {
		
		vdata.url = options.url;
		if(options.title){
			uni.setNavigationBarTitle({
				title: options.title
			});
		}
		
	});
	

</script>

<style>

</style>
